@extends('admin.layouts.wap')
@section('title', '个人中心')
@section('content')
<div class="usercenter">
    <div class="usercenter-header" style="padding-bottom: 15px;">
        <img src="{{ empty(Auth::user()->avatar) ? 'https://wwcdn.weixin.qq.com/node/wework/images/kf_head_image_url_1.png' : Auth::user()->avatar }}">
        <div class="usercenter-header-info">
            <div class="usercenter-header-info-nike">{{ empty(Auth::user()->nike) ? "未设置昵称" : Auth::user()->nike }}</div>
            <div class="usercenter-header-info-describe">{{ Auth::user()->username }}</div>
        </div>
    </div>
    <div class="usercenter-info">
        <ul>
            <li onclick="urlJump('/admin/template/mini');">
                <div class="left">
                    <i class="iconfont icon-xinwenzixun"></i>
                    小程序注册信息模板
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
            <li onclick="urlJump('/admin/template/beian');">
                <div class="left">
                    <i class="iconfont icon-xinwenzixun-xianxing"></i>
                    企业备案信息模板
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
            <li onclick="urlJump('/admin/template/admin');">
                <div class="left">
                    <i class="iconfont icon-guanliyuanrenzheng"></i>
                    小程序管理员列表
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
        </ul>
        <ul>
            <li onclick="urlJump('/admin/order/list');">
                <div class="left">
                    <i class="iconfont icon-dingdan" style="font-size: 1.4rem;"></i>
                    订单记录
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
            <li onclick="urlJump('/admin/miniapp/service');">
                <div class="left">
                    <i class="iconfont icon--kefu"></i>
                    联系客服
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
            <li onclick="urlJump('/admin/logout');">
                <div class="left">
                    <i class="iconfont icon-tuichu" style="font-size:17px;"></i>
                    退出登录
                </div>
                <i class="iconfont icon-toRight-fill"></i>
            </li>
        </ul>
    </div>
</div>
@endsection